home *** CD-ROM | disk | FTP | other *** search
/ Web Designer 98 (Professional) / WebDesigner 1.0.iso / cgi2 / fly_tar.z / fly_tar / fly / Makefile < prev    next >
Encoding:
Makefile  |  1997-01-21  |  581 b   |  29 lines

  1. #This makefile should suffice on most Unix systems. For other systems,
  2. #you may well need to rewrite it. 
  3. #
  4. # If you already have gd installed, use the line below and comment out the
  5. # following line
  6. #       GD = /path/to/gd/directory
  7.         GD = gd1.2
  8.         CC = gcc
  9.     CFLAGS = -g -w -I$(GD)
  10.       LIBS = -L$(GD) -lgd -lm
  11.  
  12. all: gd fly
  13.  
  14. gd: $(GD)
  15.     cd $(GD); make
  16.  
  17. fly.o: fly.c fly.h
  18.     $(CC) -c $(CFLAGS) fly.c
  19.  
  20. fly: fly.o
  21.     $(CC) -o fly fly.o $(LIBS)
  22.  
  23. mostlyclean:
  24.     rm -f fly.o temp.gif core; cd gd1.2; make clean;
  25.  
  26. clean:
  27.     rm -f fly.o fly temp.gif core; cd gd1.2; make clean;
  28.  
  29.